// 常量路由
export const constantRoute = [
	
		{
			// 登录路由
			path: '/login',
			component: () => import('@/views/login/index.vue'),
		  name: 'login', //命名路由
		  meta: {
			title: '登录',
			hidden: true
			}
			
		},
		{
			// 登录成功之后展示数c据的路由
			path: '/',
			component: () => import('@/views/home/index.vue'),
			name: 'home', //命名路由
			meta: {
				title: '首页',
				hidden: false,
				icons:'House'
			},
			children: [
				{
					path: '/home',
					component: () => import('@/views/home/index.vue'),
					name:'happy',
					meta: {
						title: '子路由1',
						hidden: false,
						icons:'Pointer'
					}
				},
				{
					path: '/home',
					component: () => import('@/views/home/index.vue'),
					name:'lucky',
					meta: {
						title: '子路由2',
						hidden: false,
						icons:'House'
					}
				}
			]
		},
		{
			// 404页面
			path: '/404',
			component: () => import('@/views/404/index.vue'),
			name: '404', //命名路由
			meta: {
				title: '404',
				hidden: false,
				icons:'Close'

			}
			
		},
		{
			// 任意路由
			path: '/:pathMatch(.*)*',
			redirect: '/404',
			name: 'any',
			meta: {
				title: '任意的',
				hidden: false,
				icons:'More'
		}
		}

]